Computer Configuration > Administrative Templates > Firefox
Both
HKLM\Software\Policies\Mozilla\Firefox
If this policy is enabled, a primary password is required. If this policy is disabled, the user cannot create a primary password. If this policy is not configured, the user can choose to create a primary password.